<?php

namespace App\Http\Controllers\OpenShop\SiteLocation;

use App\Http\Controllers\BaseController;
use App\Service\Cruise\Mission\MallInputService;
use App\Service\OpenShop\SiteLocation\MallService;
use Illuminate\Support\Facades\Request;

class MallController extends BaseController
{
    /**
     * 通过 openShopSiteLocationID获得表单信息
     * @param Request $request
     * @param $siteLocationId
     * @return void
     */
    public function getMallInputs(Request $request, $siteLocationId)
    {
        return $this->success((new MallInputService($siteLocationId))->getInputObjectFill());
    }

}
